package com.rupertjones.globalcron.domain;

import org.quartz.JobExecutionContext;
import org.quartz.Trigger;

import java.util.List;

public interface GlobalCronScheduler {
    void adjustForModifications();
    boolean running(JobDescriptor job);
    Trigger getTrigger(int id);
    boolean executeJob(int id);
    boolean deleteJob(int id);
    List<JobExecutionContext> getCurrentlyExecutingJobs();
}
